# 新建虚拟环境，安装依赖
python -m venv myenv
myenv\Scripts\activate
pip install -r requirements.txt

# 打包并复制配置文件
myenv\Scripts\pyinstaller news_reader.spec
cp -r .\config .\dist\config